import request from '@/config/axios'

export const levelHistoryPageHistory = async (data) => {
  return await request.postOriginal({
    url: '/amp/level-history/pageHistory',
    data
  })
}

export const levelHistoryCreateOrUpdateConfig = async (data) => {
  return await request.post({
    url: '/amp/level-history/createOrUpdateConfig',
    data
  })
}
export const levelHistoryGetConfig = async () => {
  return await request.get({
    url: '/amp/level-history/getConfig'
  })
}

export const levelHistoryExport = async (params) => {
  return await request.download({
    url: '/amp/level-history/export-excel',
    params
  })
}
